package com.ihg.hiex.admin.dao.session;

import java.util.List;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.ihg.hiex.entity.session.meeting.SessionMeetingTemplate;

/**
 *
 * @author Ark
 *
 */
@Dao("hibernate")
public interface SessionMeetingTemplateDao {

    /**
     * @param exercise
     * @return
     */
    @Query("FROM SessionMeetingTemplate WHERE disabled = false AND exercise = :exercise")
    public List<SessionMeetingTemplate> list(@Variable("exercise") boolean exercise);
    
}
